package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.PropValueMapper;
import com.rongke.model.PropValue;
import com.rongke.service.PropValueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @PropValueServiceImpl
 * @ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class PropValueServiceImpl extends ServiceImpl<PropValueMapper, PropValue> implements PropValueService {

    @Autowired
    private PropValueMapper propValueMapper;

    /**
     * @根据条件查找
     * @param propValue
     * @return
     */
    @Override
    public List<PropValue> selectByCondition(PropValue propValue) {
        return propValueMapper.selectByCondition(propValue);
    }

    @Override
    public List<PropValue> selectPropValueList(Map map) {
        List<PropValue> values=propValueMapper.selectPropValueList(map);

        return values;
    }
}
